import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js';
//学生课堂列表查询
export const conversationService = (classID, chapterID) => {
    console.log(classID, chapterID)
    let tokenStore = useTokenStore()
    //console.log(tokenStore.token.token)
    const headers = {
        token: tokenStore.token.token
    }
    const params = new URLSearchParams()
    params.append('classID',classID)
    params.append('chapterID',chapterID)
    return request.post('/student/chapterconversationinfo',params,{headers});
}